package org.erp.admins.domain.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.erp.common.basic.BaseEntity;

/**
 * 咸鱼店铺用户(TenantUser)表实体类
 *
 * @author dingding
 * @since 2025-11-24 15:58:39
 */
@SuppressWarnings("serial")
@Data
public class TenantUser extends BaseEntity {
    //id
    @TableId(type = IdType.AUTO)
    private Long id;
    //会员昵称
    private String userNick;
    //手机
    private String phone;
    //商户id
    private Long tenantId;
    //到期时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expireTime;
    //状态1启用 0停用
    private String status;

    //逻辑删除 0存在 1删除
    @TableLogic
    private Integer delFlag;


}

